package io.kimmking.dubbo.common.unit;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 用来自动注入工具类实例
 */
@Configuration
public class ToolsConfig {

    @Bean
    public IdGenertor.SnowFlake snowFlake() {
        return IdGenertor.build();
    }
}
